Hello All, |
Re: Key Listener for Apply Button You have to "setFocus" on that dialog box element:
DB MainDB = create "Button test"
void doClose(DBE x)
{
// for button
ack "close"
hide MainDB
destroy MainDB
MainDB = null
}
void doClose(DB x)
{
for apply or button
ack "close"
hide MainDB
destroy MainDB
MainDB = null
}
DBE but1 = apply(MainDB, "Button", doClose)
setFocus (but1)
show MainDB
|